package net.tv90.bfmccore.game;

import net.tv90.bfmccore.game.impl.*;

import java.io.Serializable;

public enum EnumGameType implements Serializable {
    START("热身"){
        @Override
        public GameBase getInstance() {
            return new StartGame();
        }
    },
    TDM("团队死斗"){
        @Override
        public GameBase getInstance() {
            return new TDMGame();
        }
    },
    SDM("小队死斗"){
        @Override
        public GameBase getInstance() {
            return new SDMGame();
        }
    },
    CONQUEST("征服"){
        @Override
        public GameBase getInstance() {
            return new ConquestGame();
        }
    },
    GUNMASTER("枪神"){
        @Override
        public GameBase getInstance() {
            return new GunMasterGame();
        }
    },
    AIR_SUPERIORITY("空域优势"){
        @Override
        public GameBase getInstance() {
            return new AirSuperiorityGame();
        }
    },
    VEHICLE_STORM("载具风暴"){
        @Override
        public GameBase getInstance() {
            return new VehicleStormGame();
        }
    },
    FRONTLINE("前线征服"){
        @Override
        public GameBase getInstance() {
            return new FrontLineGame();
        }
    };

    public final String name_lang;

    public GameBase getInstance() {
        return null;
    }

    EnumGameType(String str) {
        name_lang = str;
    }
}
